package com.sayyi.demo.micro.order.service;

import com.sayyi.demo.micro.order.entity.OrderTbl;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author baomidou
 * @since 2022-02-21
 */
public interface IOrderTblService extends IService<OrderTbl> {

    /**
     * 创建订单
     * @param orderTbl
     * @return
     */
    int createOrder(OrderTbl orderTbl);

    int createOrderByTcc(OrderTbl orderTbl);

    int createOrderBySaga(OrderTbl orderTbl);
}
